xend, NUMA: Fix computation of needed nodes
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 14 Jan 2010 09:44:08 +0000 (09:44 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 14 Jan 2010 09:44:08 +0000 (09:44 +0000)
commit735f8ebd5391b78088335043818e3b4ffa0124a5
treee00f684d037f91d1f9d108cd34c53b0fadb91b4c
parent0b5e4f99aed9c43ba1feb0a4e97d97bc96d1d172
xend, NUMA: Fix computation of needed nodes

Enumerate the best nodes and add CPU affinity until all VCPUs can be
backed by at least one physical core. This should fix problems with
asymmetric NUMA configurations and cropped number of CPUs in Xen.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
tools/python/xen/xend/XendDomainInfo.py